<?php 

return [
    'hello' => '你好 世界!',
    'user'=>[
        'login_username' => '用户名必须填写21321',
        'login_password' => '密码必须填写',
        'login_info_fail' => '用户名或密码错误',
        'login_captcha_fail' => '图形验证码错误或已过期',
        "user_empty"=>"用户不存在",
        'register_already' => '邮箱或手机号已注册',
        'register_fail'=> '注册失败',
        'validate'=> [
            'username' => '用户名必须填写',
            'password' => '密码必须填写',
            'email' => '邮箱格式错误',
            'phone' => '手机号格式错误',
            'captcha' => '验证码必须填写',
            "code" => "图形验证码必须填写",
            "uuid" => "图形验证码uuid不得为空",
            "type" => "验证码类型不得为空",
            "scene" => "验证码场景不得为空",
            "newNickNameRequire" => '新昵称不得为空',
            "newNickNameTooLong" => '新昵称不得超过60个字符',
        ],
        'upload_lack_file' => '上传文件缺失',
    ],
    'captcha'=>[
        'img_captcha_fail' => '图形验证码错误或已过期',
        'captcha_expire' => '验证码已过期',
        'send_captcha_limit' => '发送验证码过于频繁，请稍后再试',
        'captcha_wrong' => '验证码错误',
    ],
    'common'=>[
        'param_error' => '参数错误',
        "success" => '成功',
        "fail"=>'失败',
        "mail_success" => '邮件发送成功',
        "mail_fail" => '邮件发送失败,请查看日志',
    ],
    'device'=>[
        'device_exist' => '设备已存在',
        'device_not_exist' => '设备不存在',
        'device_not_belong' => '此设备不属于你',
        'validate'=>[
            'device_id_require' => '设备ID必须填写',
            'device_id_length' => '设备ID长度必须在1-60个字符之间',
            'device_name_require' => '设备名称必须填写',
            'device_name_length' => '设备名称长度必须在1-60个字符之间',
            'device_type_require' => '设备类型必须填写',
            'device_type_length' => '设备类型长度必须在1-30个字符之间',
            'device_sub_type_require' => '设备子类型必须填写',
            'device_sub_type_length' => '设备子类型长度必须在1-20个字符之间',
            'hard_version_require' => '硬件版本必须填写',
            'hard_version_length' => '硬件版本长度必须在1-20个字符之间',
        ]
        
    ]
];